package com.smartfast4j.sys.service;

import com.smartfast4j.sys.entity.User;
import com.baomidou.mybatisplus.service.IService;

/**
 * <p>
 * 系统用户表 服务类
 * </p>
 *
 * @author 孤傲苍狼
 * @since 2017-08-28
 */
public interface IUserService extends IService<User> {

    /**
     * 通过名字查找用户
     * @param name
     * @return
     */
    User getUserByName(String name);

    User selectByPrimaryKey(Long id);

    int deleteByPrimaryKey(Long id);
}
